package com.xx.design.exception.ass;


import com.xx.design.exception.base.AuthException;

/**
 * 授权异常的断言类
 *
 * @author EDY
 */
public class UnauthorizedExceptionAssert extends AbstractAssert {

    /**
     * 生成 UnauthorizedException
     *
     * @param message 异常消息
     * @return BusinessException
     */
    @Override
    public RuntimeException newException(String message) {
        return new AuthException(message);
    }
}
